package cn.myfirefly.moming.house.entity;

import static javax.persistence.GenerationType.IDENTITY;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.Id;
import javax.persistence.Table;
import javax.persistence.Temporal;
import javax.persistence.TemporalType;

import cn.myfirefly.core.entity.BasePO;

@Entity
@Table(name = "spf_trade_track_form")
public class SpfTradeTrackForm extends BasePO implements java.io.Serializable {
		
	/**
	 * 
	 */
	private static final long serialVersionUID = 7037088737451565192L;
	//columns START
	/** ID */
	private Integer id;
	/** ID */
	private Integer tradeContractId;
	/** 有无资质 */
	private Integer hasAptitude;
	/** 资质办理方式 */
	private String aptitudeHandleType;
	/** 资质办理方式详情 */
	private String aptitudeHandleTypeRemark;
	/** 认购方式 */
	private String buyType;
	/** 认购方式详情 */
	private String buyTypeRemark;
	/** 交首付日期 */
	private java.util.Date firstPayDate;
	/** 驻场联络人 */
	private String residentContact;
	/** 是否老带新 */
	private Integer oldBeltNew;
	/** 老客户姓名 */
	private String oldCustomerName;
	/** 身份证号 */
	private String oldCustomerIds;
	/** 联系电话 */
	private String oldCustomerContact;
	/** 老客户所购房号 */
	private String oldCustomerBuyAddress;
	/** 备注 */
	private String remark;
	//columns END

	/**
	 * ID
	 * @return
	 */
	@Id
    @GeneratedValue(strategy = IDENTITY)
    @Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}
	
	/**
	 * ID
	 * @param value
	 */
	public void setId(Integer value) {
		this.id = value;
	}
		
	/**
	 * ID
	 * @return
	 */
	@Column(name = "trade_contract_id", nullable = true)
	public Integer getTradeContractId() {
		return this.tradeContractId;
	}
	
	/**
	 * ID
	 * @param value
	 */
	public void setTradeContractId(Integer value) {
		this.tradeContractId = value;
	}
		
	/**
	 * 有无资质
	 * @return
	 */
	@Column(name = "has_aptitude", nullable = true)
	public Integer getHasAptitude() {
		return this.hasAptitude;
	}
	
	/**
	 * 有无资质
	 * @param value
	 */
	public void setHasAptitude(Integer value) {
		this.hasAptitude = value;
	}
		
	/**
	 * 资质办理方式
	 * @return
	 */
	@Column(name = "aptitude_handle_type", nullable = true)
	public String getAptitudeHandleType() {
		return this.aptitudeHandleType;
	}
	
	/**
	 * 资质办理方式
	 * @param value
	 */
	public void setAptitudeHandleType(String value) {
		this.aptitudeHandleType = value;
	}
		
	/**
	 * 资质办理方式详情
	 * @return
	 */
	@Column(name = "aptitude_handle_type_remark", nullable = true)
	public String getAptitudeHandleTypeRemark() {
		return this.aptitudeHandleTypeRemark;
	}
	
	/**
	 * 资质办理方式详情
	 * @param value
	 */
	public void setAptitudeHandleTypeRemark(String value) {
		this.aptitudeHandleTypeRemark = value;
	}
		
	/**
	 * 认购方式
	 * @return
	 */
	@Column(name = "buy_type", nullable = true)
	public String getBuyType() {
		return this.buyType;
	}
	
	/**
	 * 认购方式
	 * @param value
	 */
	public void setBuyType(String value) {
		this.buyType = value;
	}
		
	/**
	 * 认购方式详情
	 * @return
	 */
	@Column(name = "buy_type_remark", nullable = true)
	public String getBuyTypeRemark() {
		return this.buyTypeRemark;
	}
	
	/**
	 * 认购方式详情
	 * @param value
	 */
	public void setBuyTypeRemark(String value) {
		this.buyTypeRemark = value;
	}
		
		/**
		 * 交首付日期
		 * @return
		 */
	@Temporal(TemporalType.TIMESTAMP)
	@Column(name = "first_pay_date", nullable = true)
	public Date getFirstPayDate() {
		return this.firstPayDate;
	}
	
	/**
	 * 交首付日期
	 * @param value
	 */
	public void setFirstPayDate(Date value) {
		this.firstPayDate = value;
	}
	
	/**
	 * 驻场联络人
	 * @return
	 */
	@Column(name = "resident_contact", nullable = true)
	public String getResidentContact() {
		return this.residentContact;
	}
	
	/**
	 * 驻场联络人
	 * @param value
	 */
	public void setResidentContact(String value) {
		this.residentContact = value;
	}
		
	/**
	 * 是否老带新
	 * @return
	 */
	@Column(name = "old_belt_new", nullable = true)
	public Integer getOldBeltNew() {
		return this.oldBeltNew;
	}
	
	/**
	 * 是否老带新
	 * @param value
	 */
	public void setOldBeltNew(Integer value) {
		this.oldBeltNew = value;
	}
		
	/**
	 * 老客户姓名
	 * @return
	 */
	@Column(name = "old_customer_name", nullable = true)
	public String getOldCustomerName() {
		return this.oldCustomerName;
	}
	
	/**
	 * 老客户姓名
	 * @param value
	 */
	public void setOldCustomerName(String value) {
		this.oldCustomerName = value;
	}
		
	/**
	 * 身份证号
	 * @return
	 */
	@Column(name = "old_customer_ids", nullable = true)
	public String getOldCustomerIds() {
		return this.oldCustomerIds;
	}
	
	/**
	 * 身份证号
	 * @param value
	 */
	public void setOldCustomerIds(String value) {
		this.oldCustomerIds = value;
	}
		
	/**
	 * 联系电话
	 * @return
	 */
	@Column(name = "old_customer_contact", nullable = true)
	public String getOldCustomerContact() {
		return this.oldCustomerContact;
	}
	
	/**
	 * 联系电话
	 * @param value
	 */
	public void setOldCustomerContact(String value) {
		this.oldCustomerContact = value;
	}
		
	/**
	 * 老客户所购房号
	 * @return
	 */
	@Column(name = "old_customer_buy_address", nullable = true)
	public String getOldCustomerBuyAddress() {
		return this.oldCustomerBuyAddress;
	}
	
	/**
	 * 老客户所购房号
	 * @param value
	 */
	public void setOldCustomerBuyAddress(String value) {
		this.oldCustomerBuyAddress = value;
	}
		
	/**
	 * 备注
	 * @return
	 */
	@Column(name = "remark", nullable = true)
	public String getRemark() {
		return this.remark;
	}
	
	/**
	 * 备注
	 * @param value
	 */
	public void setRemark(String value) {
		this.remark = value;
	}
		
}

